package dao;

import java.util.List;

import org.apache.commons.collections.MultiMap;

import model.ThietBiYTe;

public interface ThietBiYTeDAO extends GenericDAO<ThietBiYTe, Long> {
	public List<ThietBiYTe> findByTenChuDe(String name);

	public List<ThietBiYTe> findByCongDung(String name);

	public List<ThietBiYTe> findByCachDung(String name);

	public List<ThietBiYTe> findByNhaSanXuat(String name);

	public List<ThietBiYTe> findByOneCondition(String criteria, String keyWord);

	public List<ThietBiYTe> findByKeyWord(String keyWord);
	
	public List<ThietBiYTe> findByTenLoaiThietBiYTeLike(String keyword);

	public List<ThietBiYTe> findByManyConditions(MultiMap conditions);
	
	public List<ThietBiYTe> findByIdLoaiThietBiYTe(long idLoaiThietBiYTe);
}
